a11y: Allow setting the role post-construction
authorEmmanuele Bassi <ebassi@gnome.org>
Sun, 26 Jul 2020 19:27:39 +0000 (20:27 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Sun, 26 Jul 2020 20:27:03 +0000 (21:27 +0100)
commit82664003c0b6194543fa70a9d1468da81d35acc9
treeadd38cc231c12d3046d9f31a19ad72de557ff8c7
parentb9a1cb74a16bd60624d45cbdd747d02fc01ab95d
a11y: Allow setting the role post-construction

Some widgets have different roles after they are constructed, so we need
to allow changing the role defined by the class. We should still avoid
setting a role after the GtkATContext has been created.
gtk/gtkaccessible.c
gtk/gtkwidget.c
testsuite/gtk/defaultvalue.c
testsuite/gtk/notify.c